package com.hd.appcommon.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

@Data
public class StudentCreditRecord implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String jobNumber;
    private Float minGraCre;
    private Float schoolCompulsoryCre;
    @TableField(strategy= FieldStrategy.IGNORED)
    private String schoolCompulsoryCreDet;
    private Float limitCre;
    @TableField(strategy= FieldStrategy.IGNORED)
    private String limitCreDet;
    private Float practiceCre;
    @TableField(strategy= FieldStrategy.IGNORED)
    private String practiceCreDet;
    private Float outChooseCre;
    @TableField(strategy= FieldStrategy.IGNORED)
    private String outChooseCreDet;
    private Float outCompulsoryCre;
    @TableField(strategy= FieldStrategy.IGNORED)
    private String outCompulsoryCreDet;
    private Float otherCre;
    @TableField(strategy= FieldStrategy.IGNORED)
    private String otherCreDet;
    private Float compulsoryCre;
    @TableField(strategy= FieldStrategy.IGNORED)
    private String compulsoryCreDet;
    private Float majorChooseCre;
    @TableField(strategy= FieldStrategy.IGNORED)
    private String majorChooseCreDet;
    private Float english2;
    @TableField(strategy= FieldStrategy.IGNORED)
    private String english2Det;
    private Float english3;
    @TableField(strategy= FieldStrategy.IGNORED)
    private String english3Det;
    private Float english4;
    @TableField(strategy= FieldStrategy.IGNORED)
    private String english4Det;
    private Integer isLearn;

    public void clearMsg(){
        this.schoolCompulsoryCre= 0.0F;
        this.schoolCompulsoryCreDet="";
        this.limitCre=0.0F;
        this.limitCreDet="";
        this.practiceCre=0.0F;
        this.practiceCreDet="";
        this.outChooseCre=0.0F;
        this.outChooseCreDet="";
        this.outCompulsoryCre=0.0F;
        this.outCompulsoryCreDet="";
        this.otherCre=0.0F;
        this.otherCreDet="";
        this.compulsoryCre=0.0F;
        this.compulsoryCreDet="";
        this.majorChooseCre=0.0F;
        this.majorChooseCreDet="";
        this.english2=0.0F;
        this.english2Det="";
        this.english3=0.0F;
        this.english3Det="";
        this.english4=0.0F;
        this.english4Det="";
    }
}
